package com.hzp.micromall.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hzp.micromall.product.entity.PmsSkuStock;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author houzipeng
 * @Date 2022/2/26 14:31
 * @Version 1.0
 */
@Mapper
public interface PmsSkuStockDao extends BaseMapper<PmsSkuStock> {

    /**
     * 批量插入或替换操作
     */
    int replaceList(@Param("list") List<PmsSkuStock> skuStockList);
}
